package com.aidex.wxCompany;

import java.util.Map;

public interface WxWrokMessageService {

    /**
     * 号码匹配给用户发送消息
     *
     * @param phones
     * @param content
     */
    public Map<String, Object> sendTextMessageByUser(String[] phones, String content);

    /**
     * 使用机器人给群成员发送消息
     *
     * @param content
     * @param robot
     */
    public Boolean sendTxtMessageFromRobotToGroup(String robot, String content, String[] mentionedList,
                                                  String[] mobileList);

    public String getAccessToken();

    public Map<String, Object> getUserIdByPhone(String phone);

    public Boolean sendImageMessageFromRobotToGroup(String robot, String base64, String md5);

    public Map<String, Object> sendTextMessageByWxUserIds(String[] wxUserIdList, String content);
}
